﻿<%@ Page Language="C#" MasterPageFile="~/parents/pmaster.Master" AutoEventWireup="true" CodeBehind="PSProfile.aspx.cs" Inherits="ESCHOOL.parents.WebForm3" Title="Student Profile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

                   
                
    <br />
    <p>
        <asp:DetailsView 
        ID="DetailsView1" runat="server" AutoGenerateRows="False" Height="50px" 
         
        style="text-align: left" Width="440px" onmodechanging="DetailsView1_ModeChanging" 
       >
        <Fields>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Image ID="Image1" runat="server" Height="94px" 
                        ImageUrl='<%# "~/admin/student/"+Eval("photo") %>' style="text-align: right" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="enrollment_no" HeaderText="Enrollment No" />
            <asp:BoundField DataField="class_name" HeaderText="Class" />
            <asp:BoundField DataField="student_name" HeaderText="Name" />
            <asp:BoundField DataField="father_name" HeaderText="Father Name" />
            <asp:TemplateField HeaderText="Date of Birth">
            <ItemTemplate><%#Eval("date_of_birth","{0:d}") %></ItemTemplate></asp:TemplateField>
            <asp:BoundField DataField="permanent_address" HeaderText="Address" />
            <asp:BoundField DataField="residence_pno" HeaderText="Phone No" />
            <asp:BoundField DataField="mobile_no" HeaderText="Mobile No" />
            <asp:BoundField DataField="student_emailid" HeaderText="Emailid" />
        </Fields>
    </asp:DetailsView>
        <br />
    </p>

                   
                
</asp:Content>

